<template>
  <div class="page-home">
    <div class="house-container">
      <div class="page-title">二手房房源</div>
      <div class="search-container">
        <Search />
      </div>
      <div class="list-container">
        <List :data="data" />
      </div>
    </div>
  </div>
</template>

<script>
import Search from './components/Search'
import List from './components/List'

export default {
  name: 'House',
  components: {
    Search,
    List
  },
  data () {
    return {
      data: [
        {
          id: '1',
          photo: '/example/1.jpeg',
          name: '北京一环',
          commu: '完美无限小区',
          intro: '（岳阳市云溪区）千丝造型',
          nature: '住宅，1室1厅，120㎡，朝东，300万',
          created_at: '2020-01-01 00:00:01',
          look_num: 999,
          owner_hevn: '图片，维护房源，提供房源',
          servicer: '默认渠道，京东岳阳淘屋'
        },
        {
          id: '2',
          photo: '/example/2.jpeg',
          name: '北京一环',
          commu: '完美无限小区',
          intro: '（岳阳市云溪区）千丝造型',
          nature: '住宅，1室1厅，120㎡，朝东，300万',
          created_at: '2020-01-01 00:00:01',
          look_num: 999,
          owner_hevn: '图片，维护房源，提供房源',
          servicer: '默认渠道，京东岳阳淘屋'
        },
        {
          id: '3',
          photo: '/example/3.jpeg',
          name: '北京一环',
          commu: '完美无限小区',
          intro: '（岳阳市云溪区）千丝造型',
          nature: '住宅，1室1厅，120㎡，朝东，300万',
          created_at: '2020-01-01 00:00:01',
          look_num: 999,
          owner_hevn: '图片，维护房源，提供房源',
          servicer: '默认渠道，京东岳阳淘屋'
        },
        {
          id: '4',
          photo: '/example/4.jpeg',
          name: '北京一环',
          commu: '完美无限小区',
          intro: '（岳阳市云溪区）千丝造型',
          nature: '住宅，1室1厅，120㎡，朝东，300万',
          created_at: '2020-01-01 00:00:01',
          look_num: 999,
          owner_hevn: '图片，维护房源，提供房源',
          servicer: '默认渠道，京东岳阳淘屋'
        },
        {
          id: '5',
          photo: '/example/5.jpeg',
          name: '北京一环',
          commu: '完美无限小区',
          intro: '（岳阳市云溪区）千丝造型',
          nature: '住宅，1室1厅，120㎡，朝东，300万',
          created_at: '2020-01-01 00:00:01',
          look_num: 999,
          owner_hevn: '图片，维护房源，提供房源',
          servicer: '默认渠道，京东岳阳淘屋'
        },
        {
          id: '6',
          photo: '/example/6.jpeg',
          name: '北京一环',
          commu: '完美无限小区',
          created_at: '2020-01-01 00:00:01',
          look_num: 999,
          owner_hevn: '图片，维护房源，提供房源',
          servicer: '默认渠道，京东岳阳淘屋'
        }
      ]
    }
  },
  computed: {
  },
  methods: {
  },
  mounted () {
  }
}
</script>

<style lang="less">
.page-home{
  padding: 18px;
  .house-container{
    .page-title{
      font-size: 18px;
    }
    .search-container{
      margin-top: 12px;
    }
    .list-container{
      margin-top: 16px;
      // background-color: #fff;
    }
  }
}
</style>
